<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="java.sql.Connection"%>
<%@page import="com.yuxin.common.util.DBUtil"%>
<%@page import="java.util.List"%>
<%@page import="java.util.Map"%>
<%@page import="java.util.regex.Pattern"%>
<%@page import="java.util.regex.Matcher"%>
<%@page import="com.yuxin.core.TransactionManager"%>
<%
	Connection conn = null;
	int records = 0;
	try{
		conn = DBUtil.getConnection();
		String sql = "select count(t.ID) from p_trade t where t.STATUS = 1";	
		records = DBUtil.count(conn, sql);
	} catch (Exception ex) {
		ex.printStackTrace();
	} finally {		
		DBUtil.close(conn);
	}
%>
<!DOCTYPE html>
<html>
<head>
    <%@ include file="/meta.jsp" %>
    <title>${site_title}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style type="text/css">
	<!--
		#prod_list td {text-align:center; vertical-align:middle;}
	-->
	</style>
</head>
<body>
<%@ include file="/header.jsp" %>
<div class="container" >
    <div class="row-fluid">
        <%@ include file="menu.jsp" %>
        <div class="span9">        	
          	<div style="margin-top:20px; text-align:center;">
            <div><strong>待审核商家：</strong><%=records %> <% if(records > 0) { %><a href="${ctx}/admin/trader_audit.jsp" style="margin-left:30px;">进入审核商家...</a><% } %></div>
            </div>
        </div>
    </div>
</div>
<%@ include file="/footer.jsp" %>
</body>
</html>